package com.system.listener;




public class Progress{
	private long pBytesRead;// 已经上传的字节数，单位：字节
	private long pContentLength;// 所有文件的总长度，单位：字节
	private long startTime = System.currentTimeMillis(); // 开始上传的时间，用于计算上传速度等
	private String fileName;//文件名
	public Progress(){}

	public long getStartTime() {
		return startTime;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}
	public long getpBytesRead() {
		return pBytesRead;
	}
	public void setpBytesRead(long pBytesRead) {
		this.pBytesRead = pBytesRead;
	}
	public long getpContentLength() {
		return pContentLength;
	}
	public void setpContentLength(long pContentLength) {
		this.pContentLength = pContentLength;
	}
	@Override
	public String toString() {
		//"Progress [pBytesRead=" + getpBytesRead() + ", pContentLength="
		//+ getpContentLength() + ", pItems=" + getpItems() + "]";
		return getpBytesRead() + ","
				+ getpContentLength() + "," + getFileName();
	}





}
